package com.hyh.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

@Getter
public enum ItemStatus {

    NORMAL(1, "正常起售"),
    FROZEN(2, "暂不售卖")
    ;

    @EnumValue
    private int code;
    private String message;

    ItemStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }



}
